﻿using System.Collections.Generic;
using UnityEngine;

namespace SuperScrollView
{
    public class SuperGridViewItem : MonoBehaviour
    {
        public List<SuperListViewItem> mItemList;

        public void Init(SuperListViewItem.OnSelectDelegate OnSelctItem = null, SuperListViewItem.OnShowDelegate OnShowItem = null)
        {
            foreach (SuperListViewItem item in mItemList)
            {
                item.Init();
                item.OnSelectItem = OnSelctItem;
                item.OnShowItem = OnShowItem;
            }
        }
    }
}
